<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>注册</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="机票,特价机票,机票检测">
<meta http-equiv="description" content="打灰机网，用户注册">
<script type="text/javascript" src="EXTENT_PATH/js/regist/regist.js"></script>
<link rel="stylesheet" type="text/css" href="EXTENT_PATH/css/style.css"/>
<link rel="stylesheet" type="text/css" href="EXTENT_PATH/css/pulicstyle.css"/>
<script type="text/javascript" src="EXTENT_PATH/js/jquery.js"></script>
<script type="text/javascript" src="EXTENT_PATH/js/jquery.form.js"></script>
</head>
<body>
		<jsp:include page="../common/top.jsp"></jsp:include>
			<div id="wrapper">
			<FORM id="registFrom" name="registFrom" action="" method="post">
				<BR>
				<center>
				<STRONG><h1><font color="red">${requestScope.msg}</font></h1></h1></STRONG>
				<center><STRONG><h1>用户注册</h1></STRONG></center>
				<TABLE width="40%" align=center border=0>
					<TBODY>
						<TR>
							<TD align=right width="15%">
								<STRONG>用户名:</STRONG>
							</TD>
							<TD width="75%">
								<INPUT id="name" name="name" onBlur="chkUserName()" class="inputindex" value="" maxlength="20"> 
								<SPAN id="username_notice"><font color="red">*</font></SPAN>
							</TD>
						</TR>
						<TR>
							<TD align=right><STRONG>email:</STRONG>
							</TD>
							<TD>
								<INPUT id="email" name="email" onBlur="checkEmail()" class="inputindex" maxlength="40"> 
								<SPAN id="email_notice"><font color="red">*</font></SPAN>
								</TD>
							</TR>
						<TR>
							<TD align=right>
								<STRONG>密码:</STRONG>
							</TD>
							<TD>
								<INPUT id="password" name="password" onBlur="check_password()"
							onkeyup=checkIntensity(this.value);;;;;;;;;;;;;;;;;;;
							type="password" class="inputindex" maxlength="20">
								<SPAN id="password_notice"><font color="red">*</font></SPAN>
							</TD>
						</TR>
						<TR>
							<TD align=right><STRONG>密码强度:</STRONG></TD>
							<TD>
								<TABLE cellSpacing=0 cellPadding=1 width=145 border=0>
									<TBODY>
										<TR align=middle>
											<TD id=pwd_lower width="33%">弱</TD>
											<TD id=pwd_middle width="33%">中</TD>
											<TD id=pwd_high width="33%">强</TD>
										</TR>
									</TBODY>
								</TABLE></TD>
						</TR>
						<TR>
							<TD align=right><STRONG>确认密码:</STRONG>
							</TD>
							<TD>
								<INPUT id="conform_password" name="confirm_password" onBlur="check_conform_password(this)" type="password"
									class="inputindex"> 
								<SPAN id="conform_password_notice"><font color="red">*</font></SPAN>
							</TD>
						</TR>
						<TR>
							<TD align=right><STRONG>请输入验证码:</STRONG>
							</TD>
							<TD>
								<input type="text" id="VerifyCode" size="3" name="vf" onblur="checkVerify()"class="inputindex">
								<img src="VerifyCodeServlet" id="Verify" style="cursor: hand;" alt="看不清，换一张" />
								<SPAN id="VerifyCode_notice"><font color="red">*</font></SPAN>
							</TD>
						</TR>
						<TR>
							<TD ></TD>
							<TD align="center">
								<center>
									<input type=button value=确认注册&nbsp;&nbsp;&nbsp; name="Submit1" onclick="regist();">
								</center>
							</TD>
						</TR>
						<TR>
							<TD colSpan=2></TD>
						</TR>
					</TBODY>
				</TABLE>
			</center>
		</FORM>
	</div>
</body>
</html>
